package com.zretc.service.impl;

import com.zretc.dao.CollectMapper;
import com.zretc.entity.Collect;
import com.zretc.service.CollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CollectServiceImpl implements CollectService {
    @Autowired
    private CollectMapper collectMapper;

    @Override
    public List<Map<String,Object>> getCollectByAccountName(String accountName) {
        return collectMapper.findCollectByAccountName(accountName);
    }
}
